Search
Shape Constructor (short[], String)
See Also
 

Initializes a new instance of the Shape class with the specified outline and id. The specified array should contain even number of values. Each odd value represents the x-coordinate and each even value represents the y-coordinate of the corresponding point in the shape outline.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public Shape (
    short[] outline,
    String id
)

 Parameters

outline

An array containing even number of coordinate values, which define the points of the shape outline.

id

The string identifier of the new shape.

 See Also